projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea9ae18
)
(Fbase64_decode_region): Don't place point outside of the
author
Richard M. Stallman
<rms@gnu.org>
Wed, 8 Sep 1999 07:54:18 +0000
(07:54 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 8 Sep 1999 07:54:18 +0000
(07:54 +0000)
current accessible portion.
src/fns.c
patch
|
blob
|
history
diff --git
a/src/fns.c
b/src/fns.c
index 8c5120397888598d21b9731f2cc2d0359fd5fdb0..32ec031bf46326b10941452a90bb0808c9d450b6 100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-3140,7
+3140,7
@@
If the region can't be decoded, return nil and don't modify the buffer.")
old_pos += inserted_chars - (XFASTINT (end) - XFASTINT (beg));
else if (old_pos > XFASTINT (beg))
old_pos = XFASTINT (beg);
- SET_PT (old_pos);
+ SET_PT (old_pos
> ZV ? ZV : old_pos
);
return make_number (inserted_chars);
}